<div class="ui-tab">
    <ul>
        <li class="tab-item <{if $action == 'index'}> selected <{/if}>"><a href="<{U('card/index')}>" onclick="LayerShow();">卡券列表</a></li>
        <li class="tab-item <{if $action == 'add'}> selected <{/if}>"><a href="<{U('card/add')}>" onclick="LayerShow();">新增卡券</a></li>
        <li class="tab-item <{if $action == 'record'}> selected <{/if}> last-item"><a href="<{U('card/record')}>" onclick="LayerShow();">使用记录</a></li>
    </ul>
</div>